﻿<!DOCTYPE html>
<html>
<head>
    <link href="http://fonts.googleapis.com/css?family=Droid+Sans" rel="stylesheet" type="text/css" />
    <title>@ViewBag.Title</title>
    <link href="@Url.Content("~/Content/Styles.css")" rel="stylesheet" type="text/css" />
    @RenderSection("Meta", false)
</head>
<body>
    <table>
        <td></td>
        <td class="td-center" style="background: #F1F1F1; border: 0;">
            <div class="header">
                <header>            
                    <div class="menu">
                        @RenderSection("UserName", false)
                        <div id="home"></div>                                                
                        <div id="login"></div>
                        <div id="search"></div>
                        @if(Static.CurrentUser != null) {<div id="circles"></div>}
                        <div id="help"></div>
                    </div>
                    <h1>
                        @if (IsSectionDefined("H1"))
                        {@RenderSection("H1")}
                        else
                        {<text>DTweet: A dashing-way of tweeting!</text>}</h1>
                </header>
            </div>
            
            <div id="user-settings" class="user-settings">
                @if(Static.CurrentUser != null)
                {
                <div id="account-settings" class="account-settings">
                    Account Settings</div>
                <div id="logout" class="logout">
                    Log out</div>
                }                
            </div>
            @RenderSection("AboutUser", false)

        </td>
        <td></td>
    </table>    
    <div id="main">
        <table>
            <tr>
                <td></td>
                <td class="td-center">
                    <div>
                        @RenderBody()
                    </div>
                </td>
                <td></td>
            </tr>
        </table>
    </div>
    <div class="footer">&copy; @DateTime.Now.Year - <a href="http://dashingquill.web.officelive.com">Dashing Quill</a> - <a href="https://plus.google.com/100325991024054712503" rel="me">Muaz Khan</a> - <a href="@Url.Content("~/HomePage")">Homepage</a> - <a href="@Url.Content("~/UsersList")">Users List</a> - <a href="@Url.Content("~/login")">Login or Sign-up</a></div>

    <script src="/Content/JavaScript/Sizzle.js" type="text/javascript"></script>
    <script src="/Content/JavaScript/JSON.js" type="text/javascript"></script>
    <script src="/Content/JavaScript/XMLHttpRequest.js" type="text/javascript"></script>
    <script src="/Content/JavaScript/dashingquill.js" type="text/javascript"></script>
    @RenderSection("JavaScript", false)

    <script>
        dashingquill.handleLayout();
    </script>
</body>
</html>